Skip to content

Reset horizon dashboard when new data arrives - #12

Merged
HanSun103 merged 4 commits into
mainfrom
archive-live-forward-readme
Jul 31, 2026
Merged

Reset horizon dashboard when new data arrives#12
HanSun103 merged 4 commits into
mainfrom
archive-live-forward-readme

Conversation

@HanSun103

Copy link
Copy Markdown
Owner

What changed

  • reset the saved horizon decision date when the published dataset gains a newer date
  • preserve user filters after the dataset version is current
  • reconcile the bundle manifest with the latest July 30 stock-level refresh

Root cause

The page contained all July 30 forecast arms, but the browser restored July 29 from the previous localStorage state. The old saved state did not record which dataset version it belonged to.

Validation

  • dashboard selector and publisher tests pass
  • sanitized Pages bundle validation passes
  • bundle contains 12 forecast arms and the latest monitor date is July 30

@HanSun103
HanSun103 merged commit 56b3a7b into main Jul 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant